package com.study.design.pattern.pattern.structural.flyweight;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: gongsl
 * @Date: 2025-03-16 11:44
 * @description: 棋子
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ChessPiece {
    /**
     * 棋子单元
     */
    private ChessPieceUnit chessPieceUnit;
    /**
     * X坐标
     */
    private int positionX;
    /**
     * Y坐标
     */
    private int positionY;
}
